package service

import (
	"errors"
	"learning/gooop/spring/autogen/command"
)

// tInitialState is the default state for a coding service
// it will only accept ProjectCmd
type tInitialState struct {
	context iCodingContext
}

func newInitialState(c iCodingContext) iCodingState {
	it := new(tInitialState)
	it.init(c)
	return it
}

func (me *tInitialState) init(c iCodingContext) {
	me.context = c
}

var gErrorProjectDefineRequired = errors.New("project not defined: project <name> <dir>")

func (me *tInitialState) Run(cmd command.ICmd) error {
	panic("implement me")
}
